package xyz.iguilty.workflow.example.activity.trip;

import org.springframework.stereotype.Component;
import xyz.iguilty.workflow.core.service.AbstractActivity;
import xyz.iguilty.workflow.model.*;

@Component("attendance_businessTrip_leaderAudit")
public class BusinessTripLeaderAuditActivity extends AbstractActivity<BusinessModel, String> {
    @Override
    public String getStatusAfterCreated() {
        return "待领导审核";
    }

    @Override
    public String currentActivityKey() {
        return "attendance_businessTrip_leaderAudit";
    }

    @Override
    public ActorModel getCurrentActors(ActivityContext context) {
        SimpleUser simpleUser = new SimpleUser("zero", "赛罗");
        return ActorModel.buildFromCandidateUser(simpleUser);
    }
}
